package com.jerry.ball;

/**
 * @author wanggk
 * @Description
 * @date Created in 2021/9/9
 */
public class BallTest {

    public static void main(String[] args) {
        game();
    }

    public static void game() {
        Team team1 = new Team("詹姆斯");
        Team team2 = new Team("库里");
        Game game = new Game(100, team1, team2);
        game.start();
    }

    public static String game(Integer roundTime) {
        Team team1 = new Team("詹姆斯");
        Team team2 = new Team("库里");
        Game game = new Game(roundTime, team1, team2);
        return game.start();
    }
}
